/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.cms.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * taskoprexEntity
 * @author leo
 * @version 2018-04-09
 */
public class TaskOprex extends DataEntity<TaskOprex> {
	
	private static final long serialVersionUID = 1L;
	private int taskid;		// taskid
	private boolean comfirmed;		// comfirmed
	private String userid;		// userid
	private Date comfirmdate;		// comfirmdate
	private Date comfirmtime;		// comfirmtime
	private Double amount;		// amount
	
	public TaskOprex() {
		super();
	}

	public TaskOprex(String id){
		super(id);
	}

	public int getTaskid() {
		return taskid;
	}

	public void setTaskid(int taskid) {
		this.taskid = taskid;
	}
	
	public boolean getComfirmed() {
		return comfirmed;
	}

	public void setComfirmed(boolean comfirmed) {
		this.comfirmed = comfirmed;
	}
	
	@Length(min=0, max=50, message="userid长度必须介于 0 和 50 之间")
	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getComfirmdate() {
		return comfirmdate;
	}

	public void setComfirmdate(Date comfirmdate) {
		this.comfirmdate = comfirmdate;
	}
	
	public Date getComfirmtime() {
		return comfirmtime;
	}

	public void setComfirmtime(Date comfirmtime) {
		this.comfirmtime = comfirmtime;
	}
	
	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}
	
}